package 软件工程实验三.A1.A12;//Source file: E:\\Projects\\RationRoseProject\\GenerateCode\\College.java


import java.util.ArrayList;
import java.util.List;

public class College
{
   public List<Building> theBuilding = new ArrayList<>();
   public List<Course> theCourse = new ArrayList<>();
   private String name;

   public College(String name) {
      this.name = name;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public void addCourse(Course course) {
      theCourse.add(course);
   }
   public void removeCourse(Course course) {
      theCourse.remove(course);
   }
   public void addBuilding(Building building) {
      theBuilding.add(building);
   }

   public List<Building> getTheBuilding() {
      return theBuilding;
   }

   public List<Course> getTheCourse() {
      return theCourse;
   }

   public void removeBuilding(Building building) {
      theBuilding.remove(building);
   }

   /**
    * @roseuid 6719EB3F01CC
    */
   public College() 
   {
    
   }
}
